{% extends "registration/base.html" %}
{% load i18n %}
{% block title %}{% trans 'Login' %} - {{ block.super }}{% endblock %}

{% block content %}

<h1>{% trans 'Login' %}</h1>
<div class="content first-content">
{% if form.errors %}
<p class="errors">{% trans 'Please correct the errors below' %}:</p>
{% endif %}

<form method="post" action="?next={{ next|default:"/" }}">
<table>
	{{form}}
</table>
	<p><input type="submit" value="{% trans 'Login' %}" /></p>
</form>
</div>
{% endblock %}

{% block content-related %}
<h2>{% trans 'Tips' %}</h2>
<p>{% blocktrans %}If you don't have an account, you can <a href="/accounts/register/">sign up</a> for one.{% endblocktrans %}</p>
<p>{% blocktrans %}If you forgot your password, you can <a href="/accounts/password/reset/">reset</a> your password.{% endblocktrans %}</p>
{% endblock %}